package com.luca.web.controller.common;

import lombok.Getter;

/**
 * 验证码类型
 *
 * @author luca
 */
public enum CaptchaType {

    /**
     * 数学类型
     */
    MATH("math", "数学类型"),
    /**
     * 字符类型
     */
    CHAR("CHAR", "字符类型"),
    ;

    @Getter
    private final String code;

    @Getter
    private final String message;

    CaptchaType(String code, String message) {
        this.code = code;
        this.message = message;
    }

}
